{include file='../../../PublicView/include.html'}
<script src="/assets/shopadmin/shopmodule/gamecfg.js"></script>
<div class="taeapp admin-table" cellpadding="0" cellspacing="0" border="0">
        <div class="taeapp admin-table-side  tips tips-small tips-notice tips-no-icon">
            <!--菜单部分-->
            <div class="taeapp admin-nav">
			{include file='../../../PublicView/shopleft.html'}
			</div>
            <!--菜单部分-->
        </div>
        <div class="taeapp admin-table-main">
            <!--内容部分-->
				<ul class="breadcrumb">
				<li><a href="/">互动到店</a> <span class="divider">/</span></li>
				<li>游戏管理 <span class="divider">/</span></li>
				<li class="active">{$title}</li></li>
				</ul>
		
			<!--内容部分-->
			{include file='../../../PublicView/showmessage.html'}
			<div class="row">
			  <div class="panel">
			  <div class="panel-header">
				<h3>选择游戏类型：</h3>
			  </div>
			  <div class="panel-body clearfix">
				<form method="post" action="/?a=gamecfg_1&m=shopadmin">
					<input type="hidden" class="tnm" name="toolname" value="{$toolname|default:""}">
					<label class="control-label"></label>
					<div class="form-horizontal">
						<div class="row" style="height:262px;background:url(http://img03.taobaocdn.com/imgextra/i3/27390555/TB24c.NXVXXXXckXXXXXXXXXXXX-27390555.png) bottom">
						<div class="" style="height:32px;background:url(http://img01.taobaocdn.com/imgextra/i1/27390555/TB2DM3OXVXXXXc_XXXXXXXXXXXX-27390555.png);"></div>
							<div class="control-group span20">
								<div class="controls control-row-auto span-width" >
								<ul class="toolbar toolslst" style="margin:50px 0 0 20px">
					{counter start=1 skip=1 print=false assign=i}
					{foreach from=$tools key=id item=tool}
						<li class="{if $tool.status==1}tool{else}badtool{/if} tool{$id} curpoint" data-tool="{$id}">
							{if $toolname==$id}<span class="x-icon x-icon-small x-icon-success" style="position: absolute"><i class="icon icon-white icon-ok"></i></span>{/if}
							<img src="{$tool.pic_url}"/>
						</li>
						{if $i mod 4==0}
								</ul>
								</div>
							</div>
						</div>
						<div class="row" style="height:230px;margin-top:-10px;background:url(http://img03.taobaocdn.com/imgextra/i3/27390555/TB24c.NXVXXXXckXXXXXXXXXXXX-27390555.png) bottom">
							<div class="control-group span20">
								<div class="controls control-row-auto span-width" >
								<ul class="toolbar toolslst"  style="margin:50px 0 0 20px">
						{/if}
						{counter assign="i" print=false}
					{/foreach}
								</ul>
								</div>
							</div>
						</div>
					</div>
					
					<div class="control-group span20 centered res">
					<button class="button save" type="button" >下一步</button>
					</div>
					</form>
			  </div>
			</div>
			</div>			
			<input type="hidden" class="type" value="{$type|default:0}" />
        <!--内容部分-->
        </div>
</div>